﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchSystemParameter.ascx.vb" Inherits="WebForm_ManageSystemParameter_SearchSystemParameter" %>
<%@ Register Namespace="My" TagPrefix="cc1" %>
<table>
    <tr>
        <td>
            <table>
               <tr>
                <td align="right">
                    <asp:Label ID="lbParameterType" runat="server" meta:resourcekey="lbParameterType"></asp:Label></td>
                <td align="left">
                    <asp:DropDownList ID="ddlParameterType" runat="server">
                        <asp:ListItem>全部</asp:ListItem>
                    </asp:DropDownList></td>
                <td>&nbsp;<asp:Label ID="lbActive" runat="server" meta:resourcekey="lbActive" Visible="False" ></asp:Label></td>
              </tr>
              <tr>
                 <td align="right" style="height: 26px">
                     <asp:Label ID="lbParameterText" runat="server" meta:resourcekey="lbParameterText"></asp:Label></td>
                <td align="left" style="height: 26px">
                    <asp:TextBox ID="txtParameterText" runat="server"></asp:TextBox></td>
                <td style="height: 26px">&nbsp;<asp:DropDownList ID="ddlActive1" runat="server" Visible="False">
                        <asp:ListItem Value="全部">全部</asp:ListItem>
                        <asp:ListItem Value="Y">是</asp:ListItem>
                        <asp:ListItem Value="N">否</asp:ListItem>
                    </asp:DropDownList></td>
              </tr>  
              <tr>
                 <td align="right">
                     <asp:Label ID="lbParameterValue" runat="server" meta:resourcekey="lbParameterValue"></asp:Label></td>
                <td align="left">
                    <asp:TextBox ID="txtParameterValue" runat="server"></asp:TextBox></td>
                <td>
                <asp:Button ID="btGetData" runat="server" meta:resourcekey="btGetData" /></td>
              </tr>  
              <tr>
                 <td align="right">
                     <asp:Label ID="lbParameterName" runat="server" meta:resourcekey="lbParameterName" Visible="False"></asp:Label></td>
                <td align="left">
                    <asp:TextBox ID="txtParameterName" runat="server" Visible="False"></asp:TextBox></td>
                <td>
                    &nbsp;</td>
              </tr>  
            </table>
        </td>
    </tr>
</table>
<br />
<My:MyGridView ID="gv" runat="server" SkinID="pager" AllowHoverSelect="False" AllowHoverEffect="False" MySortDirection="Ascending" DataKeyNames="ParameterType,ParameterName" AutoGenerateColumns="False" MouseOverColor="" BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Horizontal" meta:resourcekey="gv">
    <Columns>
        <asp:BoundField DataField="Text" meta:resourcekey="bfParameterType" />
        <asp:BoundField DataField="ParameterText" meta:resourcekey="bfParameterName" />
        <asp:BoundField DataField="ParameterValue" meta:resourcekey="bfParameterValue" />
        <asp:BoundField DataField="ParameterText" meta:resourcekey="bfParameterText" Visible="False" />
        <asp:BoundField DataField="Active" meta:resourcekey="bfActive" Visible="False"/>
        <asp:TemplateField>     
            <ItemTemplate>
<asp:LinkButton id="lknEdit" meta:resourcekey="lknEdit" runat="server" CommandName="Update" __designer:wfdid="w57"></asp:LinkButton> 
</ItemTemplate>
        </asp:TemplateField>      
    </Columns>
    <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
    <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
    <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
    <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
    <AlternatingRowStyle BackColor="#F7F7F7" />
</My:MyGridView>
